import request from '@/utils/request'

// 查询身份配置列表
export function listAppidentityconfiguration(query) {
  return request({
    url: '/system/appidentityconfiguration/list',
    method: 'get',
    params: query
  })
}

// 查询身份配置详细
export function getAppidentityconfiguration(id) {
  return request({
    url: '/system/appidentityconfiguration/' + id,
    method: 'get'
  })
}

// 新增身份配置
export function addAppidentityconfiguration(data) {
  return request({
    url: '/system/appidentityconfiguration',
    method: 'post',
    data: data
  })
}

// 修改身份配置
export function updateAppidentityconfiguration(data) {
  return request({
    url: '/system/appidentityconfiguration',
    method: 'put',
    data: data
  })
}

// 删除身份配置
export function delAppidentityconfiguration(id) {
  return request({
    url: '/system/appidentityconfiguration/' + id,
    method: 'delete'
  })
}
